<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>


  <div id="sidebar">
    <div id="sidebar-wrapper">
      <h1 id="sidebar-title"><a href="http://www.vinxenter.com">Vinxenter</a></h1>
      <a href="http://www.vinxenter.com" style="padding-left: 8px"><img id="logo" src="/images/logo.png" alt="Vinxenter logo" /></a>
      <!-- Sidebar Profile links -->
      <div id="profile-links">
       	您好, <a href="#" title="Edit your profile"><?php echo Yii::app()->user->Displayname;?></a> 欢迎登陆到后台!
       <br/>
        <a href="http://www.vinxenter.com" title="查看站点">查看站点</a> | <a href="<?php echo  $this->createUrl('/site/logout')?>" title="注销">注销</a> </div>
      <ul id="main-nav">
        <!-- Accordion Menu -->       
        <li> <a href="#" class="nav-top-item current">产品管理 </a>
          	<?php 
          	$this->widget('zii.widgets.CMenu', array(
				'activeCssClass'=>'current',
				//'firstItemCssClass'=>'第一个元素的样式', 
				//'lastItemCssClass'=>'最后一个元素的样式', 
				//'encodeLable'=>'false'  //這樣，label標籤中就會輸出html.
				//'htmlOptions'=>array('class'=>'默认样式'),
				'items'=>array(
				array('label'=>'新增产品', 'url'=>array('backend/addshoe')),
				array('label'=>'管理产品', 'url'=>array('backend/shoecatalog')),
				array('label'=>'管理分类', 'url'=>array('backend/categorie')),
				),
				));
          	?>
          
        </li>    
        <li> <a href="#" class="nav-top-item">客户管理</a>
          <?php 
          	$this->widget('zii.widgets.CMenu', array(
				'activeCssClass'=>'current',
				//'firstItemCssClass'=>'第一个元素的样式', 
				//'lastItemCssClass'=>'最后一个元素的样式', 
				//'encodeLable'=>'false'  //這樣，label標籤中就會輸出html.
				//'htmlOptions'=>array('class'=>'默认样式'),
				'items'=>array(
				array('label'=>'客户分组管理', 'url'=>array('backend/customergroup')),
				array('label'=>'客户资料管理', 'url'=>array('backend/customer')),
				array('label'=>'客户留言管理', 'url'=>array('backend/comment')),
				),
				));
          	?>
        </li>
        <li> <a href="#" class="nav-top-item">设置 </a>     
        <?php 
          	$this->widget('zii.widgets.CMenu', array(
				'activeCssClass'=>'current',
				//'firstItemCssClass'=>'第一个元素的样式', 
				//'lastItemCssClass'=>'最后一个元素的样式', 
				//'encodeLable'=>'false'  //這樣，label標籤中就會輸出html.
				//'htmlOptions'=>array('class'=>'默认样式'),
				'items'=>array(
				array('label'=>'用户设置', 'url'=>array('backend/setting')),
				array('label'=>'页面设置', 'url'=>array('backend/page')),
				),
				));
          	?>     
        </li>
      </ul>
      <!-- End #main-nav -->
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    <div class="notification error png_bg">
      <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
        Download From <a href="http://www.exet.tk">exet.tk</a></div>
    </div>
    </noscript>
    <!-- Page Head -->
   

    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->

    
    
	<?php echo $content; ?>
   
    <div class="clear"></div>

    <div id="footer"> <small>
      <!-- Remove this notice or replace it with whatever you want -->
      &#169; Copyright 2014 Vinxenter | Powered by <a href="mailto:xxz@live.cn">xxz</a> | <a href="#">Top</a> </small> </div>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
<?php $this->endContent(); ?>


